package com.ruoyi.system.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_material_tab")
@ApiModel(value = "角色信息表")
public class MaterialEntity extends CommonEntity {


    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id; // 保证全局唯一

    @ApiModelProperty(value = "syncId")  // 保存的 同步的 ID
    private Long syncId;

    @ApiModelProperty(value = "材料名称")
    private  String materialName;



    private String spec="";  // 材料规格型号


    @ApiModelProperty(value = "材料名称")
    @TableField(value = "`type`")
    private  String Type;

    @ApiModelProperty(value = "创建人名称")
    private String creator;


    @ApiModelProperty(value = "入库累计两")
    private  Float InTotal;


    @ApiModelProperty(value = "材料数量")
    private  Float actualCount;


    @ApiModelProperty(value = "最新备注")
    private  String remark;



    @ApiModelProperty(value = "计量单位编码")
    private  String unitCode;

    @ApiModelProperty(value = "计量单位")
    private  String unitName;

    @ApiModelProperty(value = "材料编码")
    private  String materialCode;


    @ApiModelProperty(value = "材料类别编码")
    private  String materialTypeCode;



    @ApiModelProperty(value = "材料类别名称")
    private  String materialTypeName;



    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除)")
    private Integer delFlag;

}
